export const setStore=(Info)=>{
  if(!Info) return;
  if(typeof Info !== 'string'){
    Info=JSON.stringify(Info);
  }
  window.localStorage.setItem('token',Info);
}

export const setStores=(Info)=>{
  if(!Info) return;
  if(typeof Info !== 'string'){
    Info=JSON.stringify(Info);
  }
  window.sessionStorage.setItem('token',Info);
}

export const removeStore=()=>{
  window.localStorage.removeItem('token');
}